package com.itheima.test.java8;

import com.itheima.test.UserPojo;

public class FilterAge implements  MyPredicate<UserPojo> {
    @Override
    public boolean test(UserPojo userPojo) {
        return userPojo.getSalay()>12;
    }
}
